<?php

namespace App\Config;

class_alias('\Base\Config\\' . ucfirst(APP_ENV) . '\Code', "BaseCodeConfig");

class Code extends \BaseCodeConfig
{

    public $order = [
        'user' => [
            'a' => [
                'field' => 'id',
                'type' => 'desc',
            ],
            'b' => [
                'field' => 'cu.id',
                'type' => 'desc'
            ]
        ],
    ];

    public $aesKey = '1e8353ab0922f5e1';
    public $aesIv = '83b87d13b0c018bb';

    public $defaultHead = '/img/defaultHead.png';

    public $pointValue = [
        1 => ['name' => '审核通过', 'point' => 10],
    ];

    public $baseField = [
        'username',
        'realname',
        'birthday',
        'mobile',
        'plant_no',
        'brand',
        'model',
        'color',
        'remark',
        'address',
        'industry',
        'summary',
    ];

}
